home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d14 / drwtsn.arc / DOC30.TXT next >
Text File  |  1991-08-12  |  11KB  |  227 lines

  1.  
  2.  
  3. Microsoft« 
  4. Copyright ⌐ 1991 Microsoft Corporation.  All Rights Reserved.
  5. Microsoft, MS-DOS, and the Microsoft logo are registered trademarks and Windows is a trademark of Microsoft Corporation.
  6. This document was created using Microsoft Word for Windows.
  7.  
  8.  
  9. Introduction
  10.  
  11. The disk included with this application note contains DrWatson and MSD, two programs that aid Microsoft programmers in debugging Windows.  DrWatson is a program that logs information about conditions that exist when an unrecoverable application error (UAE) occurs.  MSD (Microsoft Diagnostics) is a program that identifies system configuration information.  
  12. This application note explains how to install and use DrWatson and MSD.  For Microsoft to most effectively identify and solve system problems, we ask that you use these programs and periodically send us the logs that result.  The information in this application note describes what to do when a UAE occurs and how to send Microsoft the information that you gather.
  13. DrWatson
  14.  
  15. DrWatson is a debugging tool designed to provide software programmers with detailed information on the internal state of Windows when a UAE occurs. DrWatson must be running at the time a UAE occurs to extract the internal information from the system. 
  16.  
  17. As DrWatson uses very little memory and does not affect the performance of Windows, we encourage you to install DrWatson if a UAE has occurred before. After DrWatson is installed, information is collected when a UAE occurs and written to a special file (DRWATSON.LOG) located in the Windows directory.
  18.  
  19.  
  20.  
  21. DrWatson is a diagnostic tool, not a cure for a problem. Having DrWatson will not prevent an error from occurring, but the information in DRWATSON.LOG will help Microsoft developers make the next version of Windows even better.
  22.  
  23. Microsoft Diagnostics (MSD)
  24.  
  25. The Microsoft Diagnostics (MSD) program is designed to assist Microsoft customers and Product Support Services (PSS) technicians in solving problems with Microsoft products. MSD identifies system configuration information such as the BIOS, video card type and manufacturer, installed processor(s), I/O port status, operating system version, environment settings, hardware devices attached, and additional software running concurrently with MSD.  
  26.  
  27. MSD should be used in conjunction with DrWatson to provide valuable information on hardware configurations and UAEs.  Error reports should include information from both the MSD program and DrWatson. (The section titled "When a UAE Occurs" on page 2 of this application note details the procedure for using MSD with DrWatson.)
  28.  
  29. Installing DrWatson and MSD
  30.  
  31. We recommend that you start DrWatson automatically each time you start Windows. This will allow you to collect critical information each time a UAE occurs.
  32.  
  33. To install MSD and DrWatson and to start DrWatson automatically when you start Windows, do the following:
  34.  
  35. 1.    Place the enclosed disk in drive A.
  36.  
  37. 2.    From Windows, start File Manager.
  38.  
  39. 3.    From the File menu, choose Copy. In the From and To boxes, type the following:
  40.  
  41. From:    a:\msd.exe 
  42. To:    c:\
  43.  
  44. Choose the Copy button. The MSD program is now copied to your root directory (if your root directory is not on drive C, substitute the correct drive letter in the To box).
  45.  
  46. 4.    From the File menu, choose Copy. In the From box, type the following:
  47.  
  48. a:\drwatson.exe toolhelp.dll
  49.  
  50. In the To box, type in the path to your Windows directory (for example:  c:\windows). Choose the Copy button. The DrWatson files are now copied to your Windows directory.
  51.  
  52. 5.    From the File menu, choose Copy. Make a backup copy of your WIN.INI file. For example, if your Windows directory is called Windows and is on drive C, in the From and To boxes, type the following:
  53.  
  54. From:    c:\windows\win.ini
  55. To:    c:\windows\win.bak
  56.  
  57. Choose the Copy button. 
  58.  
  59. 6.    Exit File Manager and open Notepad or any text editor. Open the WIN.INI file, and in the [Windows] section, add DrWatson to the LOAD= line. For example:
  60.  
  61. [windows]
  62. Beep=yes
  63. Spooler=yes
  64. NullPort=None
  65. LOAD=DRWATSON.EXE
  66.  
  67. 7.    Save the WIN.INI file and exit the text editor.
  68.  
  69. 8.    Exit and then restart Windows.
  70.  
  71. DrWatson should now appear as an icon on your desktop.
  72.  
  73. Using DrWatson
  74.  
  75. DrWatson adds a file to your Windows directory called DRWATSON.LOG. If a UAE occurs while DrWatson is running, DrWatson captures data regarding the internal operations of Windows. In addition, DrWatson prompts you for details on how the UAE occurred. When you type in your response, please include information on what you were doing or what steps created the UAE. This information is recorded in the DRWATSON.LOG file and will help our software programmers track the problems. 
  76.  
  77. At this time, DrWatson does not detect all system errors, so don't be alarmed if DrWatson does not record information after a particular system error.
  78.  
  79. Each time a UAE occurs, DrWatson appends new data to DRWATSON.LOG. To prevent this file from growing too large and to aid our processing, please save DRWATSON.LOG as a different file periodically. (For example, if five UAEs occur in one day, save DRWATSON.LOG under a different name before you start Windows again the next day.) 
  80.  
  81. To save the file under a different name, type the following at the command prompt before you start Windows:
  82.  
  83. rename c:\drwatson.log newname
  84.  
  85. where newname is any legal MS-DOS filename, such as SEPT06.LOG. If your root directory is not on drive C, substitute the correct drive letter.
  86.  
  87. When a UAE  Occurs
  88.  
  89. 1.    When a UAE occurs, the DrWatson dialog box will appear. Type in a description of what you were doing prior to receiving the error. Press enter.
  90.  
  91. 2.    Exit Windows if possible. If exiting is not possible, restart your computer.
  92.  
  93. 3.    Change to the root directory, and at the command prompt, type msd and press enter to run the MSD program. (For LCD and monochrome screens, type msd /b and press enter.)
  94.  
  95. 4.    Press r to choose Generate Report. Select the Generate To File option. When prompted for a filename, type msd.log and press enter. Fill in the information requested.
  96.  
  97. 5.    Exit MSD by pressing x.
  98.  
  99. 6.    Append the MSD log to the DrWatson log by typing the following at the command prompt:
  100.  
  101. type path\MSD.LOG >> path\drwatson
  102.  
  103. where  path\drwatson is the path and filename of the DrWatson log. For example, if you named your DrWatson log the default DRWATSON.LOG (in the WINDOWS directory on drive C), type the following:
  104.  
  105. type c:\msd.log >> c:\windows\drwatson.log
  106.  
  107. 7.    After you have logged several UAEs, send us the log by following the instructions listed on page 4 of this application note.
  108.  
  109. 8.    After sending us the log, delete the MSD and DrWatson logs (for example, MSD.LOG and DRWATSON.LOG) from your hard disk.
  110.  
  111. More Information About Using 
  112. the Microsoft Diagnostics Program
  113.  
  114. The MSD program runs with MS-DOS and the DOS compatibility box of OS/2.
  115.  
  116. MSD presents a Main Menu screen split into two sections. The upper section presents a summary of information that the utility has gathered from your system. For additional information on any category, use the quick key commands, or move the highlight bar (using the arrow keys) to any category and press the enter key. A dialog box appears that presents detailed information for that category. Return to the Main Menu screen by pressing the esc key.
  117.  
  118.  
  119. The following is a brief explanation of the categories in the first section of the MSD program:
  120.  
  121. Category
  122. Description
  123.  
  124. BIOS
  125. Displays the BIOS manufacturer, date, version, and type
  126.  
  127. Processor
  128. Displays the processor type and math coprocessor, if installed
  129.  
  130. Memory
  131. Displays a map of memory from 768K to 1 MB and information concerning the configuration of RAM and ROM in your computer system
  132.  
  133. Video
  134. Shows your video card's manufacturer and model, BIOS version, memory, and current video mode
  135.  
  136. Network
  137. Detects whether a network is MS-Net or compatible, or Novell
  138.  
  139. Mouse
  140. Shows the DOS mouse driver version number, mouse type, and other information concerning the mouse
  141.  
  142. Game Adapter
  143. Dynamically displays game card status for up to two game devices or joysticks
  144.  
  145. CD-ROM
  146. Displays the Microsoft CD-ROM Extensions (MSCDEX.EXE) version number and drive letter
  147.  
  148. Operating System
  149. Displays the operating system version number and path from which MSD was run
  150.  
  151. Parallel Ports
  152. Dynamically displays the status of installed parallel ports and their port addresses
  153.  
  154. Serial Ports
  155. Dynamically displays the status of active serial ports and their current configurations
  156.  
  157. Disk Drives
  158. Scans all local and logical drives and displays the total and available bytes
  159.  
  160. IRQ Status
  161. Shows the current IRQ (hardware interrupt) status
  162.  
  163. Environment
  164. Displays environment variables
  165.  
  166. AUTOEXEC.BAT
  167. Lists the AUTOEXEC.BAT file
  168.  
  169. CONFIG.SYS
  170. Lists the CONFIG.SYS file
  171.  
  172.  
  173. The lower section of the MSD screen includes additional functions you can use with your system, as follows:
  174.  
  175. Function
  176. Description
  177.  
  178. Resident Programs
  179. Displays the names of programs loaded in RAM at the time MSD was executed, their locations, and their sizes; programs may be loaded into multiple segments of RAM and have multiple entries in the table
  180.  
  181. Device Table
  182. Displays software and hardware device drivers installed; these include default devices, such as COM1 or LPT1, and user-installed devices loaded from the CONFIG.SYS file, such as HIMEM.SYS or EMM386.SYS
  183.  
  184. Printer Test
  185. Prints a page to test the connection between the computer and either a TTY or PostScript-type printer 
  186.  
  187. Generate Report
  188. Prints a "faxable" report to a normal TTY printer or to a file
  189.  
  190. File Viewer
  191. Views text files by entering the path and filename
  192.  
  193. Memory Browser
  194. Searches selected ROM and RAM areas for search strings such as "Copyright" and "Version"
  195.  
  196. About
  197. Displays the MSD version number and copyright information
  198.  
  199. Exit
  200. Exits MSD
  201.  
  202.  
  203.  
  204.  
  205. Sending Information Gathered by 
  206. DrWatson and MSD to Microsoft
  207.  
  208. Electronic format is currently the only way we can accept DrWatson log information. This means we can receive log data by disk, through CompuServe, or through electronic mail. In all cases, we require your company name, address, and the name and phone number of a person we can contact in the event we need additional data.
  209.  
  210. You can use any of the following methods to send the report results to us:
  211.  
  212. 1.    Send a disk containing the DrWatson log(s) to the following mailing address:
  213.  
  214. Microsoft Corporation
  215. Attn:  Dr. Watson Program
  216. One Microsoft Way, Building #3
  217. Redmond, WA 98052-6399
  218.  
  219. 2.    Send the information in the DrWatson log(s) via email to Watson at Microsoft. Our Internet address is watson@microsoft.com.
  220.  
  221. 3.    Post the data contained in the DrWatson log(s) in the winadv forum, Library 17, in the Microsoft Windows section on CompuServe. In CompuServe, type the following to get to the forum:
  222.  
  223. go winadv
  224.  
  225. After you have sent us the log file(s) by one of the methods described above, delete all of the log files from your hard disk to free up disk space.
  226.  
  227. Unfortunately, we cannot respond to log contributors, but we will review every DrWatson file and actively work on solving reported problems. We thank you in advance for your efforts. Your help will enable us to keep improving future versions of Windows.